package cn.bearspark.happening.enumeration.vote;

import lombok.Getter;

/**
 * 选取状态的枚举类
 *
 * @author f
 */
@Getter
public enum SelectedEnum {

    /**
     * 被选中
     */
    SELECTED(0),
    /**
     * 未被选中
     */
    UNSELECTED(1);

    /**
     * 枚举值
     */
    private final int code;

    SelectedEnum(int code) {
        this.code = code;
    }
}
